package com.yuyou.fn.settlement.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 交易属性
 *
 */
@TableName(value = "trade_prop")
public class TradeProp implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<TradeProp> createExample(){
		return new Example<TradeProp>(TradeProp.class);
	}

	/**  */
	@TableId(value = "trade_prop_id")
	private Long tradePropId;

	/** 交易id */
	@TableField(value = "trade_id")
	private Long tradeId;

	/** 属性名 */
	private String name;

	/** 属性值 */
	private String value;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	public Long getTradePropId() {
		return this.tradePropId;
	}

	public void setTradePropId(Long tradePropId) {
		this.tradePropId = tradePropId;
	}

	public Long getTradeId() {
		return this.tradeId;
	}

	public void setTradeId(Long tradeId) {
		this.tradeId = tradeId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return this.value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
